﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace ecomerci
{
    public class transaction
    {
        public int offer_number { get; set; }
        public string offer_title { get; set; }
        public int customer_id { get; set; }
        public float price { get; set; }
        public float purchase_price { get; set; }
        public int shipping { get; set; }
        public string date { get; set; }

        public transaction(string Offer_number, string Offer_title, string Customer_id, string Price, string Purchase_price, string Shipping, string Date)
        {
            this.offer_number = int.Parse(Offer_number);
            this.offer_title = Offer_title;
            this.customer_id = int.Parse(Customer_id);
            this.price = float.Parse(Price);
            this.purchase_price = float.Parse(Purchase_price);
            this.shipping = int.Parse(Shipping);
            this.date = Date;
        }
    }
}
